package community.service;

import java.util.ArrayList;

import community.domain.Comment;
import community.domain.DLAllComment;
import community.exception.DatabaseException;

public interface ICommentService {

	public ArrayList<Comment> getFirstLayerCommentByQuestionID(int questionid)
			throws DatabaseException;

	public ArrayList<Comment> getSecondLayerCommentByCommentID(int commentid)
			throws DatabaseException;
	public ArrayList<DLAllComment> xkkdlgetFirstLayerCommentByQuestionID(int questionid)
			throws DatabaseException;
	public boolean addcomment( Comment c)	throws DatabaseException;
}
